<template>
  <button @click="handle">{{ value }}</button>
</template>

<script>
export default {
  data(){
    return {
        value: 1000
    }
  },
  methods: {
    handle(){
      this.value++;
    }
  },
  created(){
    console.log('counter');
  }
}
</script>